package com.jzsm.modules.sender.senderService.impl.sms.constant;

import com.jzsm.modules.sender.enums.ChannelTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * sms 渠道 占位符标识枚举
 */
@AllArgsConstructor
@Getter
public enum SmsPlaceholderConstant {
    /**
     * 华为云 https://support.huaweicloud.com/productdesc-msgsms/sms_templates.html
     */
    SMSHuaWeiCloud(ChannelTypeEnum.SMSHuaWeiCloud, "${", "}"),
    /**
     * 腾讯云 https://cloud.tencent.com/document/product/382/39031
     */
    SMSTencentCloud(ChannelTypeEnum.SMSTencentCloud, "{", "}"),
    /**
     * 阿里云 https://next.api.aliyun.com/api/Dysmsapi/2017-05-25/SendSms?tab=DOC&lang=JAVAASYNC
     */
    SMSALiCloud(ChannelTypeEnum.SMSALiCloud, "${", "}");
    /**
     * 渠道
     */
    ChannelTypeEnum channelTypeEnum;
    /**
     * 前缀
     */
    String prefix;
    /**
     * 后缀
     */
    String suffix;
}
